﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="QuaManSys.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">   
    <title></title>
    <style type="text/css" >
        #BodyBg
        { 
            width: 100%;  
            height: 100%;  
            position: absolute;  
            left: 0px;  
            top: 0px;  
            z-index: 0; 
        } 
 
        .stretch { 
            width:100%; 
            height:100%; 
        }
        table
        {
            position:absolute;
            left:400px;
            top:200px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server" >
    <div id="BodyBg">
    <img src="Image/login.jpg" class="stretch" alt=""/>
    <table align="center">
            <tr>
                <td width="80" height="20">
                    用户名：
                </td>
                <td width="120" height="20">
                    <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="必须填写用户名" ControlToValidate="txtName"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    密码：
                </td>
                <td width="120" height="20">
                    <asp:TextBox ID="txtPwd" runat="server" TextMode="Password"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ErrorMessage="RequiredFieldValidator" ControlToValidate="txtPwd"></asp:RequiredFieldValidator>
                </td>
            </tr>            
            <tr>
                <td height="20" colspan="2" align="center">
                    <asp:Button ID="btnLogin" runat="server" Text="登录" 
                        CssClass="input_button" Height="23px" Width="80px" 
                        OnClick="btnLogin_Click" />&nbsp;&nbsp;
                    <asp:Button ID="btnReset" runat="server" Text="重置" 
                        CssClass="input_button" Height="23px" Width="80px" 
                        OnClick="btnReset_Click" />
                </td>
                
            </tr>
        </table>  
    </div>
    </form>
</body>
</html>
